#ifndef _QUADGRIDMESH_H_
#define _QUADGRIDMESH_H_

#include <OgreMesh.h>

class QuadGridMesh
{
	unsigned short dimension;
	Ogre::MeshPtr mesh[16];

	void create();
public:
	size_t indexTR;
	size_t indexBL;
	size_t indexBR;

	size_t indexCountTL;
	size_t indexCountTR;
	size_t indexCountBL;
	size_t indexCountBR;

	QuadGridMesh(unsigned int dim);

	Ogre::MeshPtr getMesh(int index) const { return mesh[index]; }
};

#endif